<!-- app/View/Users/add.ctp -->

<div id="conteudo">
    <? echo ($this->Session->flash()); ?>
    <div id="formulario">
        <div class="users form">
        <?php echo $this->Form->create('User');?>

                <legend><?php echo __('Add User'); ?></legend>
                <?php echo $this->Form->input('name');
                echo $this->Form->input('username');
                echo $this->Form->input('password');
                echo $this->Form->input('cpf', array('class'=>'cpf'));
                echo $this->Form->input('email');
                echo $this->Form->input('telephone', array('class'=>'tel'));
                echo $this->Form->input('institution_id', array('options'=>$instituions_list));
                echo $this->Form->input('role', array(
                    'options' => array('Administrador' => 'Admin', 'Operador' => 'Operador', 'Autorizante' => 'Autorizante')
                ));
            ?>
           
        <?php echo $this->Form->end(__('Submit'));?>
        </div>
    </div>
</div>